package com.ehotting.mqbd.api.enums;

public enum DirectionEnum {

    REQUEST("REQ","请求"),RESPONSE("ACK","响应");

    private String code;
    private String name;

    DirectionEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
